package net.chathu.airgw.packets.gw.serverpackets 
{
	import net.chathu.airgw.Config;
	/**
	 * ...
	 * @author ze
	 */
	public class NickModePacket implements ISendableIRCPacket 
	{

		private var _channel:String;
		private var _nick:String;
		private var _mode:String;
		
		public function NickModePacket(channel:String, nick:String, mode:String) 
		{
			_channel = channel;
			_nick = nick;
			_mode = mode;
		}
		
		public function getMessage():String
		{
			return ":" + Config.IRC_HOST + " MODE " + _channel + " " + _mode + " " + _nick + "\n";
		}
		
	}

}